﻿using System;
using QuanLyGiaoVuDAL.DTO;
using System.Collections.Generic;

namespace QuanLyGiaoVuDAL.Repositories.DatabaseRepositories
{
    public interface IDeTaiRepository
    {
        DeTaiDTO InsertDeTai(DeTaiDTO deTaiDTO);
        DeTaiDTO UpdateDeTai(DeTaiDTO deTaiDTO);
        bool DeleteDeTai(Guid maDeTai);
        DeTaiDTO GetDeTaiById(Guid maDeTai);
        IEnumerable<DeTaiDTO> GetAllDeTai(Guid? maGiangVien1, Guid? maGiangVien2, Guid? maHocKy, Guid? maNamHoc, bool? daDuyet, bool? datYeuCau);
        IEnumerable<DeTaiDTO> GetAllDeTaiGiangVien(Guid GiangVienHD1, Guid maHocKy, bool? daDuyet);
        IEnumerable<DeTaiDTO> GetAllDeTaiNamHoc(Guid MaNamHoc);
    }
}
